<AppDataPickerView
{{#eq ctrlType 'grid'}}
  name="{{#if dataItemName}}{{dataItemName}}{{else}}{{item.codeName}}{{/if}}"
  :data="record"
{{/eq}}
{{#eq ctrlType 'panel'}}
  name="{{item.name}}"
  :data="store.layoutData"
{{/eq}}
{{#eq ctrlType 'form'}}
  name="{{item.codeName}}"
  :data="store.data"
{{/eq}}
{{#if item.valueItemName}}
  valueItem="{{item.valueItemName}}"
{{/if}}
{{#if item.psEditor.placeHolder}}
  placeholder="{{item.psEditor.placeHolder}}"
{{/if}}
{{#if (eq ctrlType 'form')}}
  :disabled="store.detailModel.{{item.codeName}}.disabled"
{{else if (eq ctrlType 'grid')}}
  {{#if (eq item.enableCond 0)}}
  :disabled="true"
  {{else if (eq item.enableCond 1)}}
  :disabled="!Object.is(record.srfuf,0)"
  {{else if (eq item.enableCond 2)}}
  :disabled="!Object.is(record.srfuf,1)"
  {{/if}}
{{else if (eq ctrlType 'panel')}}
  {{#if isMultiData}}
  :disabled="store.layoutModelDetails?.[`{{item.name}}_${data.index}`]?.disabled ? true : false"
  :value="store.layoutData[`{{item.name}}_${data.index}`]"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam, data.index) }"
  {{else}}
  :disabled="store.layoutModelDetails?.{{item.name}}?.disabled ? true : false"
  :value="store.layoutData.{{item.name}}"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
  {{/if}}
{{/if}}
{{#eq item.psEditor.editorType 'PICKUPVIEW'}}
  :isEmbed="true"
{{/eq}}
{{#if item.psEditor.psNavigateContexts}}
  :localContext="{{> @macro/common/navparam.hbs appNavParams=item.psEditor.psNavigateContexts}}"
{{/if}}
{{#if item.psEditor.psNavigateParams}}
  :localParam="{{> @macro/common/navparam.hbs appNavParams=item.psEditor.psNavigateParams}}"
{{/if}}
  :context="store.context"
  :viewParams="store.viewParams"
{{#if item.psEditor.psAppDataEntity}}
  deMajorField="{{lowerCase item.psEditor.psAppDataEntity.majorPSAppDEField.codeName}}"
  deKeyField="{{lowerCase item.psEditor.psAppDataEntity.keyPSAppDEField.codeName}}"
{{/if}}
{{#if item.psEditor.psAppDEACMode.minorSortDir}}
  sort="{{item.psEditor.psAppDEACMode.minorSortDir}}"
{{/if}}
{{#if item.psEditor.pickupPSAppView }}
  pickUpView="{{item.psEditor.pickupPSAppView.codeName}}"
{{/if}}
{{#if item.psEditor.linkPSAppView }}
  linkView="{{item.psEditor.linkPSAppView.codeName}}"
{{/if}}
{{#and item.psEditor.psAppDataEntity item.psEditor.psAppDEDataSet}}
  :acParams="{ serviceName: '{{item.psEditor.psAppDataEntity.codeName}}', interfaceName: '{{item.psEditor.psAppDEDataSet.codeName}}' }"
{{/and}}
{{#if item.psEditor.editorParams}}
  {{#if item.psEditor.editorParams.pickUpData}}
  pickUpData="{{item.psEditor.editorParams.pickUpData}}"
  {{/if}}
  {{#if item.psEditor.editorParams.multiple}}
  :multiple="{{item.psEditor.editorParams.multiple}}"
  {{/if}}
{{/if}}

  style="{{#if item.psEditor.editorWidth}}width: {{item.psEditor.editorWidth}}px;{{/if}}{{#if item.psEditor.editorHeight}}height: {{item.psEditor.editorHeight}}px{{/if}}"
{{#eq ctrlType 'form'}}
  :value="store.data.{{item.psEditor.name}}"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
{{/eq}}
{{#eq ctrlType 'grid'}}
  :value="record.{{#if dataItemName}}{{dataItemName}}{{else}}{{item.psEditor.name}}{{/if}}"
 @component-action="(actionParam:any) => { handleComponentAction(controller, actionParam, index) }"
{{/eq}}
/>
